package scsc.pub.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** 
 *        @hibernate.class
 *         table="KidTeacher"
 *         schema="scsc"
 *         dynamic-update="true"
 *         dynamic-insert="true"
 *     
*/
public class KidTeacher implements Serializable {

    /** identifier field */
    private Integer id;

    /** nullable persistent field */
    private String name;

    /** nullable persistent field */
    private String sex;

    /** nullable persistent field */
    private String birth;

    /** nullable persistent field */
    private String graSchool;

    /** nullable persistent field */
    private String graDate;

    /** nullable persistent field */
    private String identify;

    /** nullable persistent field */
    private String workexp;

    /** nullable persistent field */
    private String major;

    /** nullable persistent field */
    private String award;

    /** nullable persistent field */
    private String goodat;

    /** nullable persistent field */
    private String remark;

    /** nullable persistent field */
    private String nativePlace;

    /** nullable persistent field */
    private String tel;

    /** nullable persistent field */
    private String address;

    /** nullable persistent field */
    private String comeDate;

    /** nullable persistent field */
    private String identifyId;

    /** nullable persistent field */
    private String minzu;

    /** nullable persistent field */
    private String assoId;

    /** nullable persistent field */
    private String eduExp;

    /** nullable persistent field */
    private String degree;

    /** full constructor */
    public KidTeacher(String name, String sex, String birth, String graSchool, String graDate, String identify, String workexp, String major, String award, String goodat, String remark, String nativePlace, String tel, String address, String comeDate, String identifyId, String minzu, String assoId, String eduExp, String degree) {
        this.name = name;
        this.sex = sex;
        this.birth = birth;
        this.graSchool = graSchool;
        this.graDate = graDate;
        this.identify = identify;
        this.workexp = workexp;
        this.major = major;
        this.award = award;
        this.goodat = goodat;
        this.remark = remark;
        this.nativePlace = nativePlace;
        this.tel = tel;
        this.address = address;
        this.comeDate = comeDate;
        this.identifyId = identifyId;
        this.minzu = minzu;
        this.assoId = assoId;
        this.eduExp = eduExp;
        this.degree = degree;
    }

    /** default constructor */
    public KidTeacher() {
    }

    /** 
     *            @hibernate.id
     *             generator-class="identity"
     *             type="java.lang.Integer"
     *             column="id"
     *             unsaved-value="0"
     *         
     */
    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /** 
     *            @hibernate.property
     *             column="name"
     *             length="20"
     *         
     */
    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /** 
     *            @hibernate.property
     *             column="sex"
     *             length="6"
     *         
     */
    public String getSex() {
        return this.sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    /** 
     *            @hibernate.property
     *             column="birth"
     *             length="23"
     *         
     */
    public String getBirth() {
        return this.birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    /** 
     *            @hibernate.property
     *             column="graSchool"
     *             length="50"
     *         
     */
    public String getGraSchool() {
        return this.graSchool;
    }

    public void setGraSchool(String graSchool) {
        this.graSchool = graSchool;
    }

    /** 
     *            @hibernate.property
     *             column="graDate"
     *             length="23"
     *         
     */
    public String getGraDate() {
        return this.graDate;
    }

    public void setGraDate(String graDate) {
        this.graDate = graDate;
    }

    /** 
     *            @hibernate.property
     *             column="identify"
     *             length="200"
     *         
     */
    public String getIdentify() {
        return this.identify;
    }

    public void setIdentify(String identify) {
        this.identify = identify;
    }

    /** 
     *            @hibernate.property
     *             column="workexp"
     *             length="2147483647"
     *         
     */
    public String getWorkexp() {
        return this.workexp;
    }

    public void setWorkexp(String workexp) {
        this.workexp = workexp;
    }

    /** 
     *            @hibernate.property
     *             column="major"
     *             length="50"
     *         
     */
    public String getMajor() {
        return this.major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    /** 
     *            @hibernate.property
     *             column="award"
     *             length="2147483647"
     *         
     */
    public String getAward() {
        return this.award;
    }

    public void setAward(String award) {
        this.award = award;
    }

    /** 
     *            @hibernate.property
     *             column="goodat"
     *             length="2147483647"
     *         
     */
    public String getGoodat() {
        return this.goodat;
    }

    public void setGoodat(String goodat) {
        this.goodat = goodat;
    }

    /** 
     *            @hibernate.property
     *             column="remark"
     *             length="50"
     *         
     */
    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /** 
     *            @hibernate.property
     *             column="nativePlace"
     *             length="50"
     *         
     */
    public String getNativePlace() {
        return this.nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    /** 
     *            @hibernate.property
     *             column="tel"
     *             length="50"
     *         
     */
    public String getTel() {
        return this.tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    /** 
     *            @hibernate.property
     *             column="address"
     *             length="50"
     *         
     */
    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /** 
     *            @hibernate.property
     *             column="comeDate"
     *             length="23"
     *         
     */
    public String getComeDate() {
        return this.comeDate;
    }

    public void setComeDate(String comeDate) {
        this.comeDate = comeDate;
    }

    /** 
     *            @hibernate.property
     *             column="identifyId"
     *             length="18"
     *         
     */
    public String getIdentifyId() {
        return this.identifyId;
    }

    public void setIdentifyId(String identifyId) {
        this.identifyId = identifyId;
    }

    /** 
     *            @hibernate.property
     *             column="minzu"
     *             length="6"
     *         
     */
    public String getMinzu() {
        return this.minzu;
    }

    public void setMinzu(String minzu) {
        this.minzu = minzu;
    }

    /** 
     *            @hibernate.property
     *             column="assoId"
     *             length="20"
     *         
     */
    public String getAssoId() {
        return this.assoId;
    }

    public void setAssoId(String assoId) {
        this.assoId = assoId;
    }

    /** 
     *            @hibernate.property
     *             column="eduExp"
     *             length="6"
     *         
     */
    public String getEduExp() {
        return this.eduExp;
    }

    public void setEduExp(String eduExp) {
        this.eduExp = eduExp;
    }

    /** 
     *            @hibernate.property
     *             column="degree"
     *             length="6"
     *         
     */
    public String getDegree() {
        return this.degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
